<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>testDue</title>
    <style>
    </style>

</head>

<body>
    <div id="test">
        <div v-for="key in list">
            {{key.a}} {{key.b}}
            <div v-for = "ok in key.name">{{ok}}</div>
        </div>
    </div>


</body>

</html>
<!-- <script src="./dist/main.js"></script> -->

<script type="module">
    import Due from "./src/index.js";
    window.obj = {
        el:"#test",
        data:{
            name:"郎云松",
            position:"重庆",
            list:[{
                a:"aaa",
                b:"bbb",
                name:[1,2,3]
            },
            {
                a:"郎云松",
                b:"哈哈哈",
                name:[1,2,3]
            }],
            src:"",
            okk:{
                a:0,
                b:100
            }
        },
        methods:{
            enter(){
                console.log("enter",this);
            }
        },
        created(){
            console.log(this+"创建完成");
        }
    }
    window.vm = new Due(obj);
    console.log(vm);
</script>

</html>